package fr.inria.phoenix.scenario.bwsnfirefighting.impl.device;

import fr.inria.diagen.core.ServiceConfiguration;
import fr.inria.diagen.core.exception.DiaGenException;
import fr.inria.phoenix.scenario.bwsnfirefighting.framework.datatype.DeviceStatus;
import fr.inria.phoenix.scenario.bwsnfirefighting.framework.datatype.Location;
import fr.inria.phoenix.scenario.bwsnfirefighting.framework.distributed.sprinkler.Sprinkler;

public class SprinklerImpl extends Sprinkler {

	public SprinklerImpl(ServiceConfiguration serviceConfiguration,
			Location location, Boolean activated) {
		super(serviceConfiguration, location, activated);
	}

	@Override
	protected void postInitialize(){
	}

	@Override
	protected void deactivate() throws DiaGenException {
		this.setActivated(false);
	}

	@Override
	protected void activate() throws DiaGenException {
		this.setActivated(true);

	}

}
